{extend name="index:layout" /}

{block name="content"}
<div class="MainContainers">
<form name="form2" method="post" action="" class="layui-form">

  <div class="Header"><span class="tag">{if ($tab_ext['page_title'])} {$tab_ext.page_title} {elseif (empty($info))}添加{else /}修改{/if}</span> </div>
  <div class="Conter">
    <table class="FormTable">
{qb:form field="title" f_array="$f_array"}
	<tr> 
      <td class='tdL'>{$rs.title}: </td>
      <td class="tdR {if in_array($rs['type'],['text','password','number','select'])}layui-input-inline{else /}layui-input-block{/if}"> 
{if ($rs['name']=='waterpos')}
         {volist name=":explode('<input',$rs['value'])" id="vs"}
		 	{gt name="key" value="0"}<input{$vs} {if ($key==1||$key%3==1)}<br>{/if} {/gt}
		 {/volist}
{else /}
		{$rs.value}<br>{$rs.about}

{/if}
      </td>
    </tr>
{/qb:form}

    </table>
    <div class='submits'>
		{notempty name=":input('id')"}<input type="hidden" name="id" value="{:input('id')}">{/notempty}
		<input type="button" onclick="window.history.back()" style="color:#555;margin-right:30px;" onmouseout="$(this).css({'background':'#eee'})" onmouseover="$(this).css({'background':'orange'})" value="取消返回">

        <input type="submit" name="Submit" value="确认提交">    
    </div>
</div>

</form>
</div>

{/block}
